<?php

namespace App\Models\Wechat;

use Illuminate\Database\Eloquent\Model;

class Msg extends Model
{
    protected $table = 'wechat_msg';

    /**
     * 附件语音
     */
    public function voiceAttachment()
    {
        return $this->hasOne('App\Models\Attachment','id','voice_attachment_id');
    }
}
